package cn.exrick.xboot.modules.content.dao.mapper;

import cn.exrick.xboot.modules.content.entity.HontPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 权限数据处理层
 * @author Exrick
 */
public interface HontPermissionMapper extends BaseMapper<HontPermission> {
    /**
     * 通过用户id获取
     * @param userId
     * @return
     */
    List<HontPermission> findByHontUserId(@Param("userId") String userId);

}